package com.xyz.rok.tools.service;

import com.xyz.rok.tools.model.Command;

import java.util.List;

public interface CommandService {


    int deleteByPrimaryKey(Integer id);

    int insert(Command record);

    int insertSelective(Command record) throws Exception;

    Command selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Command record);

    int updateByPrimaryKey(Command record);

    List<Command> selectUnExecutedCommand();

    int updateBeginTime(Integer id);

    int updateEndTime(Integer id);

    Command getLastRunningStatus(Long unionId, String extractUnionTask);
}

